package org.xiaov.extra.mail.strategy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xiaov.bean.mail.Mail;

/**
 * <p>
 * 发送邮件策略接口
 * </p>
 *
 * @author xiaovcloud
 * @since 2021/2/26 12:30
 */
public interface MailStrategy {

    Logger log = LoggerFactory.getLogger(MailStrategy.class);

    /**
     * 发送邮件
     * @param mail
     */
    void sendMail(Mail mail);
}
